﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(AnswerInChannelFormFieldUpdateBo))]
    public class AnswerInChannelFormFieldUpdateDto
    {
        [Required]
        public Guid Id { get; set; }
        public Guid? EntityId { get; set; }
        [Required]
        [MaxLength(AnswerInChannelFormFieldStringLength.MaxLength_Name)]
        public string Name { get; set; }
        [MaxLength(AnswerInChannelFormFieldStringLength.MaxLength_EntityLabel)]
        public string EntityLabel { get; set; }
        [Required]
        public string Type { get; set; }
        [Required]
        public bool IsRequired { get; set; }
        [Required]
        public bool IsMasked { get; set; }

        public List<string> Options { get; set; }
    }
}